package kfm.model;
public class CateGory {
    private int no;
    private String name;
    public CateGory(){}
    public CateGory(int no, String name){
        this.no = no;
        this.name = name;
    }

    public int getNo() {
        return no;
    }

    public void setNo(int no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String toString(){
        return "序号" + " " + no + "   " +
                "名称" + " " + name;
    }
}
